package com.qf.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qf.pojo.DtsAdmin;
import com.qf.vo.CatVo;

import java.util.List;
import java.util.Set;

/**
 * @author 邢式瑞
 * @version 1.0
 * @project E-commercebackGroundManagementSystem
 * @date 2022/9/20 19:26
 */
public interface DtsAdminService {
    DtsAdmin findDtsAdminByUsername(String username);


    Page<DtsAdmin> selectAdminPage(Integer page, Integer limit, String sort, String order, String username);

    void updateAdmin(DtsAdmin dtsAdmin);

    void insertAdmin(DtsAdmin dtsAdmin);

    void deleteAdmin(DtsAdmin dtsAdmin);

    Set<CatVo> selectAdminList();

    DtsAdmin selectAdminByPwd(String encode);
}
